package com.example.aquanliangblogscan.entity;

import cn.afterturn.easypoi.excel.ExcelExportUtil;
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author 35235
 * @Date 2022/9/6 22:53
 * @Version 1.0
 */
@Data
@AllArgsConstructor
public class Article implements Serializable {
    @Excel(name = "图片url", width = 80, imageType = 1)
    private String picUrl;
    @Excel(name = "标题", width = 50)
    private String title;
    /**
     * 简介
     */
    @Excel(name = "简介", width = 50)
    private String simpleInt;
    @Excel(name = "栏目")
    private String program;
    @Excel(name = "日期", width = 30)
    private String pubDate;
    @Excel(name = "阅读数")
    private String readCount;

    public Article() {
    }
}
